package com.jing21.learn.common.learn.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 服务逻辑异常
 * @author zhengjing
 * @version 1.0
 * @date: 2017/10/26 10:05
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ServiceException extends RuntimeException {

    private Long code;

    private String meesgae;

    @Override
    public synchronized Throwable fillInStackTrace() {
        //NMMP
        return null;
    }
}
